import imp
from mimetypes import init
from symbol import power
import random
from tkinter import Y


class animal:
    x=0
    y=0
    def __init__(self,x1,y2) -> None:
        self.x=x1
        self.y=y2
        def move(self):
            print("移动")
class tortoise(animal):
    power=0
    def eatfish(self):
        print("鱼儿被吃掉啦")
class fish(animal):
    power=0
    name=" "
countfish=0
print("游戏开始")
listfish=[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]]
i=0
j=0
for countfish in range(11):
    xsign=random.randint(0,11)
    ysign=random.randint(0,11)
    for i in range(0,10):
         for j in range(0,2):
              listfish[i][j]=xsign
              listfish[i][j+1]=ysign              
              i+=1
              if j==1:
                j-=1
              break        
         countfish+=1
         break
i=0
countfish=0
for i in range(0,10):
    for j in range(0,2):                                  
        if j==1:
            j-=1
            i+=1
            countfish+=1 
            print("%d鱼的初始位置是x=%s,y=%s"%(countfish,listfish[i],listfish[j])) 
        j+=1
        
    
         

    
# while power!=0 or countfish!=0:

